package com.example.hbutliving.config.rabbitmq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MessageQueueNameConfig {

  public static final String REGISTER_EMAIL="register_email";

  @Bean
  public Queue registerEmailQueue(){
    return new Queue(REGISTER_EMAIL,true);
  }

}
